package org.ruoyi.aibox.domain.bo;

import org.ruoyi.common.core.validate.AddGroup;
import org.ruoyi.common.core.validate.EditGroup;
import org.ruoyi.aibox.domain.DocAuditResultDetail;
import org.ruoyi.core.domain.BaseEntity;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 文档审核结果明细业务对象 doc_audit_result_detail
 *
 * @author xpeter
 * @date 2025-04-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = DocAuditResultDetail.class, reverseConvertGenerate = false)
public class DocAuditResultDetailBo extends BaseEntity {

    /**
     * 明细ID
     */
    @NotNull(message = "明细ID不能为空", groups = { EditGroup.class })
    private Long detailId;

    /**
     * 结果ID
     */
    @NotNull(message = "结果ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long resultId;

    /**
     * 审核项目ID
     */
    @NotNull(message = "审核项目ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long auditItemId;

    /**
     * 审核项目结果
     */
    @NotBlank(message = "审核项目结果不能为空", groups = { AddGroup.class, EditGroup.class })
    private String auditItemResult;

    /**
     * 审核建议
     */
    @NotBlank(message = "审核建议不能为空", groups = { AddGroup.class, EditGroup.class })
    private String auditAdvice;

    /**
     * 人工审核结果
     */
    @NotBlank(message = "人工审核结果不能为空", groups = { AddGroup.class, EditGroup.class })
    private String auditHumanResult;

    /**
     * 人工审核建议
     */
    @NotBlank(message = "人工审核建议不能为空", groups = { AddGroup.class, EditGroup.class })
    private String auditHumanAdvice;

    /**
     * 人工审核人
     */
    @NotBlank(message = "人工审核人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String auditUser;


}
